import { IconifyIcon } from "@iconify/react"

export type MenuDataItem = {
	id: string
	parentId: string
	permissionName: string
	remark?: string | null
	path: string
	isExist?: boolean | null
	type: string
	orderNum: string
	children?: MenuDataItem[] | null
	level: number
	bottom?: any
	perms?: any
	sysName?: any
	visible: number
	isCache: number
	menuType: number
	icon: string | IconifyIcon
	component: string | null
}

export type MenuData = MenuDataItem[]
